package cn.wolfcode.trip.base.mapper;

import cn.wolfcode.trip.base.domain.HotelIndent;
import cn.wolfcode.trip.base.domain.UserOrder;
import cn.wolfcode.trip.base.query.QueryObject;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface HotelIndentMapper {
    int deleteByPrimaryKey(Long id);

    int insert(HotelIndent record);

    HotelIndent selectByPrimaryKey(Long id);

    List<HotelIndent> selectAll();

    int updateByPrimaryKey(HotelIndent record);

    List<HotelIndent> selectForList(QueryObject qo);

    HotelIndent selectByUUID(String orderNumber);

    List<HotelIndent> selectByUserId(@Param("id") Long id,@Param("qo") QueryObject qo);

    HotelIndent selectByHotelId(Long id);

}